Peter pointed out that stringByExpandingTildeInPath was unneeded since path returns...
[adiumx.git] / Frameworks / Adium Framework / Source / DCJoinChatViewController.h
blob4860f0b4dd7912ce20075d3b19a2236c58316c84
1 /*
2 * Adium is the legal property of its developers, whose names are listed in the copyright file included
3 * with this source distribution.
4 *
5 * This program is free software; you can redistribute it and/or modify it under the terms of the GNU
6 * General Public License as published by the Free Software Foundation; either version 2 of the License,
7 * or (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
10 * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
11 * Public License for more details.
13 * You should have received a copy of the GNU General Public License along with this program; if not,
14 * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17 #import <Adium/AIObject.h>
19 @class AIChat, AIAccount, AIMetaContact, AIListContact, AIService;
21 @interface DCJoinChatViewController : AIObject {
22 IBOutlet NSView *view; // Custom view
23 AIChat *chat; // The newly created chat
24 AIAccount *account; // The account we're being configured for
26 id delegate; // Our delegate
27 id sharedChatInstance;
30 + (DCJoinChatViewController *)joinChatView;
32 - (id)init;
33 - (NSView *)view;
34 - (NSString *)nibName;
36 - (void)configureForAccount:(AIAccount *)inAccount;
37 - (void)joinChatWithAccount:(AIAccount *)inAccount;
39 - (NSString *)impliedCompletion:(NSString *)aString;
40 - (AIListContact *)validContact:(NSString *)uniqueID withService:(AIService *)service;
41 - (NSDragOperation)doDraggingEntered:(id <NSDraggingInfo>)sender;
42 - (BOOL)doPerformDragOperation:(id <NSDraggingInfo>)sender toField:(NSTextField *)theField;
44 - (void)doJoinChatWithName:(NSString *)inName
45 onAccount:(AIAccount *)inAccount
46 chatCreationInfo:(NSDictionary *)inInfo
47 invitingContacts:(NSArray *)contactsToInvite
48 withInvitationMessage:(NSString *)invitationMessage;
49 - (NSArray *)contactsFromNamesSeparatedByCommas:(NSString *)namesSeparatedByCommas onAccount:(AIAccount *)inAccount;
51 - (void)setDelegate:(id)inDelegate;
52 - (id)delegate;
54 //roomlistWindowController delegate
55 - (void)setSharedChatInstance:(id)newInstance;
56 - (id)sharedChatInstance;
57 @end